package cn.bs.busuo.account.dao.persist.mapper;

import cn.bs.busuo.account.pojo.entity.CitySights;
import cn.bs.busuo.account.pojo.vo.CitiesVO;
import cn.bs.busuo.account.pojo.vo.SightListVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CityMapper extends BaseMapper<CitySights> {
    //    根据id查询城市信息
    CitiesVO selectById(Long id);

    //    根据城市ID查询景点
    List<SightListVO> selectList(Long id);
}
